package com.dt76.smallloanbackendservice.mapper.lhuaw;

import com.dt76.smallloanbackendservice.pojo.lhuaw.ArticleManagement;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ArticleManagementMapper {
    List<ArticleManagement> qryAllArticle();
    //动态查询+分页
    List<ArticleManagement> qryAllArticleAll(
            @Param("start") int start,
            @Param("size") int size,
            @Param("articleTitle") String articleTitle,
            @Param("classification") String classification);
    int qryAllArticleCount(@Param("articleTitle") String articleTitle,
                          @Param("classification") String classification);

    //删除
    void delArticle(@Param("articleId") int articleId);
}
